package com.ziyun.erp.modules.service.vo;

import com.ziyun.erp.modules.production.entity.ErpOrderItemEntity;
import com.ziyun.erp.modules.service.entity.ServiceRefundsEntity;
import com.ziyun.erp.modules.service.entity.ServiceRegisterEntity;
import lombok.Getter;
import lombok.Setter;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 售后登记数据vo
 * @author zh
 * @date 2018/8/288:52
 */
@Getter
@Setter
public class ServiceRegisterVo {

    /*登记信息主表*/
    @Valid
    @NotNull(message = "登记信息不能为空")
    private ServiceRegisterEntity serviceRegister;

    /*订单明细列表*/
    private List<ErpOrderItemEntity> orderItemList;

    private ServiceRefundsEntity serviceRefunds;

}
